package com.jiangyg.mall.product.dto;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 类描述：属性&属性分组关联
 * 
 * @author jiangyg
 * @email email@jiangyg.com
 * @date 2021-10-30 07:38:49
 */
@Data
@NoArgsConstructor
@EqualsAndHashCode
public class AttrAttrgroupDTO implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	private Long id;

	/**
	 * 属性id
	 */
	@NotNull
	private Long attrId;

	/**
	 * 属性组内排序
	 */
	private Integer attrSort;

	/**
	 * 属性分组id
	 */
	@NotNull
	private Long attrgroupId;

}
